<!DOCTYPE html>
<html lang='en'>

<head>
    <meta charset='UTF-8'>
    <meta name='viewport' content='width=device-width, initial-scale=1.0'>
    <meta http-equiv='X-UA-Compatible' content='ie=edge'>
    <title>Document</title>
</head>

<body>
    <div id='app'>
        <!-- v-model 是双向数据绑定    v-bind: 是属性绑定(单向数据绑定)  v-bind: 简写为 : -->
        <input type="text" v-bind:value="msg">
        <input type="text" :value="msg">
        <input type="text" v-model="msg">
    </div>
    <script src='js/vue.js'></script>
    <script>
        new Vue({
            el: '#app',
            data: {
                msg: '文字',
                boo: true
            },
            methods: {},
        })
    </script>
</body>

</html>